package cn.edu.sdjzu.xg.eagle.entities;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor  //使用Lombok的@NoArgsConstructor注解自动生成无参构造的方法
public class File{
    private int FileID;
    private String FileName;
    private String FileType;
    private String UploadTime;
    private String FileSize;
    private String UploaderID;
    private String FileStatus;
    private String Transfer_content;
    private String Transfer_status;
    private String Transfer_progress;
    private String Transfer_time;


    public File(int FileID ,String FileName,String FileType,String UploadTime,String FileSize,String UploaderID,String FileStatus,String Transfer_content,String Transfer_status,String Transfer_progress,String Transfer_time) {
        this.FileID = FileID;
        this.FileName = FileName;
        this.FileType = FileType;
        this.UploadTime = UploadTime;
        this.FileSize = FileSize;
        this.UploaderID = UploaderID;
        this.FileStatus = FileStatus;
        this.Transfer_content = Transfer_content;
        this.Transfer_status = Transfer_status;
        this.Transfer_progress = Transfer_progress;
        this.Transfer_time = Transfer_time;
    }

    @Override
    public String toString() {
        return "File{" +
                "FileID=" + FileID +
                ", FileName='" + FileName + '\'' +
                ", FileType='" + FileType + '\'' +
                ", UploadTime='" + UploadTime + '\'' +
                ", FileSize='" + FileSize + '\'' +
                ", UploaderID='" + UploaderID + '\'' +
                ", FileStatus='" + FileStatus + '\'' +
                ", Transfer_content='" + Transfer_content + '\'' +
                ", Transfer_status='" + Transfer_status + '\'' +
                ", Transfer_progress='" + Transfer_progress + '\'' +
                ", Transfer_time='" + Transfer_time + '\'' +
                '}';
    }
}
